import {getUrl,postUrl} from "../utils/https"

export const loginUser = (data)=>{
    return postUrl('/user/login',data)
}

export const getUser = ()=>{
    return getUrl("/user/userInfo")
}